package com.pattern.creational_pattern.factory_pattern;

import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author Ping
 * @Date 2022/3/13 23:04
 **/
@Component("dbLoggerFactory")
public class DBLoggerFactory {
    public Logger getLogger() {
        return new DBLogger() ;
     }
}
